package day1703;

public class runcs {
    public static void main(String[] args) {
        run a = new run("aaaa");


    //    a.run();
     //   b.run();

        Thread aa =new Thread(a);//多线程的构造方法，用Runnable创造多线程的对象
        aa.setName("aa");
        Thread bb =new Thread(a);
        bb.setName("bb");

        aa.start();
        bb.start();


    }
}
